import { defHttp } from '@/utils/http/axios';

/**
 * 字典项下拉列表
 * @param params
 * @returns
 */
export function sysDictItemSelect(params) {
  return defHttp.post({ url: '/sys/dictItem/select', params });
}
/**
 * 字典项分页查询
 * @param params
 * @returns
 */
export function sysDictItemPage(params) {
  return defHttp.post({ url: '/sys/dictItem/page', params });
}
/**
 * 添加字典项
 * @param params
 * @returns
 */
export function sysDictItemSave(params) {
  return defHttp.post({ url: '/sys/dictItem/save', params });
}
/**
 * 更新字典项
 * @param params
 * @returns
 */
export function sysDictItemUpdate(params) {
  return defHttp.post({ url: '/sys/dictItem/update', params });
}
/**
 * 获取字典项详情
 * @param params
 * @returns
 */
export function sysDictItemDetail(params) {
  return defHttp.post({ url: '/sys/dictItem/detail', params });
}
/**
 * 删除字典项
 * @param params
 * @returns
 */
export function sysDictItemRemove(params) {
  return defHttp.post({ url: '/sys/dictItem/remove', params });
}
